package com.shy;

/**
 * Created by huangyang on 2017/2/6.
 */
public abstract class Game {
    abstract void initialize();
    abstract void startPlay();
    abstract void endPlay();

    public final void play() {
        initialize();

        startPlay();

        endPlay();
    }
}
